const Koa = require('koa');

const app = new Koa();

app.use((ctx, next) => {
  ctx.response.body = `<h1>你好，koa</h1>`;
});

app.listen(7001, () => {
  console.log('koa初体验服务器启动成功~');
});
